@inherits BaseInputBlock<string?>

@namespace FluentCMS.Web.UI.Components

@if (Visible)
{
    <FormField Cols="Cols" Dense="@Dense" Id="@Id" Hint="@Hint" Label="@Label" LabelFragment="@LabelFragment" Required="@Required">
        <div class="@this.GetClasses()">
            <textarea @attributes="AdditionalAttributes" @ref="Element" placeholder="@Placeholder" readonly="@Readonly">
                @Value
            </textarea>
        </div>
    </FormField>
}
